package demo1;

public interface ILink {
    public void addFirst(int data);

    public void addLast(int data);

    public void addIndex(int index,int data);

    public boolean contains(int key);//查找关键字是否在链表中

    public void remove(int key);

    public void removeAllKey(int key);

    public int size();

    public void clear();


}
